package org.sunflower.elastic;

import lombok.Data;
import org.springframework.data.elasticsearch.annotations.Document;
import org.springframework.data.elasticsearch.annotations.Field;

@Document(indexName = "user")
@Data
public class Email {
    @Field
    private String phone;
    @Field
    private String content;
    @Field
    private String username;
}
